import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { LoginGuard } from './guards/login.guard';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { UtilService } from '../app/common/util/utilService'
import { JsStorage } from '../app/common/util/jsStorage'
import { LocationStrategy, HashLocationStrategy } from '@angular/common';
import { HttpClientModule } from '@angular/common/http'
import { NZ_I18N, zh_CN } from 'ng-zorro-antd';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

import {
  NgZorroAntdModule,
  NZ_AUTOCOMPLETE_VALUE_ACCESSOR,
} from 'ng-zorro-antd'
@NgModule({
  declarations: [
    AppComponent,
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    HttpClientModule,
    NgZorroAntdModule,
    BrowserAnimationsModule
  ],
  providers: [   { provide: NZ_I18N, useValue: zh_CN },UtilService, LoginGuard, { provide: LocationStrategy, useClass: HashLocationStrategy },],
  bootstrap: [AppComponent]
})
export class AppModule { }
